package cn.buk.tms.eotms.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 用于报表的火车票账单内容
 * @author william
 *
 */
public class ReportTrainDto extends ReportBaseDto {

	private String trainNo;
	private String dcity;
	private String acity;

	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date ddate;

	private String seatClass;

	public ReportTrainDto(String trainNo, String dcity, String acity, Date ddate, String seatClass, double total,
												Date opDate, String op1, int billId, String bePaid0) {
		super(op1, opDate, billId, total,
						bePaid0 == null ? 0 : Integer.parseInt(bePaid0));

		this.trainNo = trainNo;
		this.dcity = dcity;
		this.acity = acity;

		this.ddate = ddate;
		this.seatClass = seatClass;

	}



	public String getTrainNo() {
		return trainNo;
	}

	public void setTrainNo(String trainNo) {
		this.trainNo = trainNo;
	}

	public String getDcity() {
		return dcity;
	}

	public void setDcity(String dcity) {
		this.dcity = dcity;
	}

	public String getAcity() {
		return acity;
	}

	public void setAcity(String acity) {
		this.acity = acity;
	}

	public Date getDdate() {
		return ddate;
	}

	public String getSeatClass() {
		return seatClass;
	}
}
